# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年11月30日
"""
import pandas as pd

pd.set_option('display.unicode.east_asian_width', True)
data = [[110, 105, 99], [105, 88, 115], [109, 120, 130]]
index = ['mr001', 'mr003', 'mr005']
columns = ['语文', '数学', '英语']
df = pd.DataFrame(data=data, index=index, columns=columns)
print(df)
print("=" * 30)
df = df.reindex(index=['mr001', 'mr002', 'mr003', 'mr004', 'mr005'], columns=['语文', '物理', '数学', '英语'])
print(df)
